package com.bjesc_b2c.app.appraiset.adapter;

import android.content.Context;

import com.bjesc_b2c.app.appraiset.R;
import com.bjesc_b2c.app.appraiset.bean.ItemViewBean;

import java.util.List;
import app.pinggushi.bjesc.com.baserecyclerview.adapter.CommonAdapter;
import app.pinggushi.bjesc.com.baserecyclerview.adapter.base.ViewHolder;

/**
 * Created by yidong on 2017/9/15.
 */

public class ImageTagAdapter extends CommonAdapter<ItemViewBean> {

    public ImageTagAdapter(Context context, int layoutId, List<ItemViewBean> datas) {
        super(context, layoutId, datas);
    }

    @Override
    protected void convertView(ViewHolder holder, ItemViewBean itemViewBean, int position) {
        holder.setImageResource(R.id.item_imageView, itemViewBean.getResID());
    }
}

